<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
<title>咪咕阅读新增配置管理 </title>
<@fm.header />
<link rel="stylesheet" type="text/css" href="/resources/css/uploadify/uploadify.css">
<script type="text/javascript" src="/resources/js/common.js"></script>
<script type="text/javascript" src="/resources/js/miguReadConfig/miguReadConfig.js"></script>
</head>
<body class="cmp-list-body">
<div id="tb" style="padding:3px">
    <span>关键字</span>
	<input id="snameId" class="easyui-textbox" style="width: 155px;"/>
    <span>状态:</span>
	<select class="easyui-combobox" id="sstatusId" panelHeight="auto" style="width:155px" >
	        <option value="" selected>请选择</option>
	        <option value="0" >待启动</option>
            <option value="1" >启用</option>
        	<option value="2">废弃</option>
    </select>
    <a href="#" class="easyui-linkbutton" iconCls="icon-search" plain="true" onclick="doSearch();">查询</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="doAdd();">新增</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="doEdit();">修改</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="doCopy();">复制</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="doDel();">删除</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="doStatus(1);">启动</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="doStatus(2);">作废</a>
</div>
<table id="tt" title="咪咕阅读新增配置管理 " 
	 toolbar="#tb" rownumbers="true" idField="id"
	singleSelect="true"   pagination="true" fitColumns="true" pageSize="15" pageList="[15,30,60,80,100]">  
    <thead>
        <tr>
            <th align="left" width="8%" field="name">名称</th>    
            <th align="center" width="8%" field="totalNum">日限</th>
            <th align="center" width="8%" field="channelId">渠道号</th>
            <th align="center" width="8%" field="version">version</th>
            <th align="center" width="10%" field="appKey">appKey</th>
            <th align="center" width="10%" field="sourceId">sourceId</th>
            <th align="center" width="8%" field="appVersion">appVersion</th>
            <th align="center" width="12%" field="totalNumStr">执行情况</th>
            <th align="center" width="8%" field="status" formatter="statusFormatter">状态</th>
	        <th align="center" width="8%" field="modifyTime">修改时间</th>  
        </tr>
    </thead>   
</table>

<div id="addWin" class="easyui-window" title="咪咕阅读新增配置管理|新增修改" closed="true" collapsible="false" minimizable="false"  maximizable="false" style="width:500px;height:550px"   
        data-options="iconCls:'icon-save',modal:true">
     <div fit="true">
	       <form id="addForm" method="post" >
	        <input type="hidden" id="idId"  name="id" />
		    <table style=" border-spacing:10px; ">
		       <tr>
                   <td align="left">名称</td>
                   <td colspan="3">
                       <input class="easyui-validatebox" name="name" type="text" id="name" data-options="required:true" style="width:300px;">
                   </td>
               </tr>
               <tr>
                   <td align="left">日限</td>
                   <td colspan="3">
                       <input class="easyui-validatebox" name="totalNum" type="text" id="totalNum" data-options="required:true" style="width:300px;">
                   </td>
               </tr>
               <tr>
                   <td align="left">渠道号</td>
                   <td colspan="3">
                       <input class="easyui-validatebox" name="channelId" type="text" id="channelId" data-options="required:true" style="width:300px;">
                   </td>
               </tr>
               <tr>
                   <td align="left">version</td>
                   <td colspan="3">
                       <input class="easyui-validatebox" name="version" type="text" data-options="required:true" id="version" style="width:300px;">
                   </td>
               </tr>
                <tr>
                   <td align="left">versionInt</td>
                   <td colspan="3">
                       <input class="easyui-validatebox" name="versionInt" type="text" id="versionInt" style="width:300px;">
                   </td>
               </tr>
                <tr>
                   <td align="left">appKey</td>
                   <td colspan="3">
                       <input class="easyui-validatebox" name="appKey" type="text" data-options="required:true" id="appKey" style="width:300px;">
                   </td>
               </tr>
                <tr>
                   <td align="left">sourceId</td>
                   <td colspan="3">
                       <input class="easyui-validatebox" name="sourceId" type="text" data-options="required:true" id="sourceId" style="width:300px;">
                   </td>
               </tr>
                <tr>
                   <td align="left">appVersion</td>
                   <td colspan="3">
                       <input class="easyui-validatebox" name="appVersion" type="text" data-options="required:true" id="appVersion" style="width:300px;">
                   </td>
               </tr>
                <tr>
                   <td align="left">appVersionInt</td>
                   <td colspan="3">
                       <input class="easyui-validatebox" name="appVersionInt" type="text" data-options="required:true" id="appVersionInt" style="width:300px;">
                   </td>
               </tr>
                <tr>
                   <td align="left">appVersionDetail</td>
                   <td colspan="3">
                       <input class="easyui-validatebox" name="appVersionDetail" type="text" data-options="required:true" id="appVersionDetail" style="width:300px;">
                   </td>
               </tr>
               <tr>
                   <td align="left">ac</td>
                   <td colspan="3">
                       <input class="easyui-validatebox" name="ac" type="text" data-options="required:true" id="ac" style="width:300px;">
                   </td>
               </tr>
                <tr>
                   <td align="left">packageName</td>
                   <td colspan="3">
                       <input class="easyui-validatebox" name="packageName" type="text" data-options="required:true" id="packageName" style="width:300px;">
                   </td>
               </tr>
                <tr>
                   <td align="left">clientHash</td>
                   <td colspan="3">
                       <input class="easyui-validatebox" name="clientHash" type="text" data-options="required:true" id="clientHash" style="width:300px;">
                   </td>
               </tr>
		    </table>
		    <div style="padding: 25px; text-align: center;">
            <a href="#" class="easyui-linkbutton" onclick="cancel();">取消</a>
            <a href="#" class="easyui-linkbutton"  onclick="save();">保存</a> 
        </div>
		</form>
    </div>
</div>

</body>
</html>